package com.example.demo4activemq

import groovy.transform.ToString

@ToString(includeNames = true, includes = ["to", "body"])
class Email {
    String to
    String body

    Email() {}

    Email(String to, String body) {
        this.to = to
        this.body = body
    }
}
